package mianyang.zhangsan.com.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import mianyang.zhangsan.com.pojo.BookOrder;
import mianyang.zhangsan.com.pojo.Room;
import mianyang.zhangsan.com.pojo.RoomCustom;

import java.util.List;

public interface RoomService {
    Page<Room> queryPages(int pageNo);

    Room queryRoomInfo(String room);

    Room queryRoomInfo(int room);

    Page<Room> queryPageByWrapper(Integer page, Integer rows, Room room);

    RoomCustom packing(String roomType, Room item);

    int deleteOne(String roomNo);

    void deletes(String roomNos);

    void addRoom(Room room);

    void update(Room room);

    List<Room> queryList();

    List<Room> queryListByWrapper(Room room);

    QueryWrapper<Room> queryWrapper(Room room);
}
